import request from '@/utils/request'

// 对应接口的列表接口index
export function fetchDockingList(query) {
  return request({
    url: '/duijie/list',
    method: 'post',
    params: query
  })
}

// 对应接口的详情接口show
export function fetchDocking(id) {
  return request({
    url: `/duijie/${id}`,
    method: 'get',
    params: {}
  })
}

// 对应接口的列表接口index
export function fetchHomeDockingList(data) {
  return request({
    url: '/duijie/shouyelist',
    method: 'post',
    params: data
  })
}